<!DOCTYPE HTML>
<html lang="zh_cn" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title> PHP Markdown </title>
		<meta name="description" content="">
		<meta name="keywords" content="">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0">

    </head>
    <body>
	<script>
        var host = window.location.protocol + '//' + window.location.host + '/static/';
        var cssMy = '<link rel="stylesheet" href="' + host + 'my.css?v=5">';
        var cssHl = '<link rel="stylesheet" href="' + host + 'highlight/googlecode.css">';
        var scriptHl = '<scri'+'pt src="' + host + 'highlight/highlight.pack.js"></scri'+'pt>';
		var scriptFC = '<scri'+'pt src="' + host + 'file_chain.js?v=1"></scri'+'pt>';
        var scriptMy = '<scri'+'pt src="' + host + 'my.js?v=1"></scri'+'pt>';
        var scriptMenu = '<scri'+'pt src="' + host + 'menu.js?v=1"></scri'+'pt>';
        document.write(cssHl);
		document.write(cssMy);
		document.write(scriptHl);
		document.write(scriptFC);
        document.write(scriptMy);
        document.write(scriptMenu);
	</script>

	<div id="container">
		<!-- 左侧目录开始  menu.js 填充-->
		<div id="sidebar" ></div>
		<!-- 左侧目录结束  -->

		<!-- 右侧内容开始  -->
		<div id="content">
			{markdown}
		</div>
		<!-- 右侧内容结束  -->
	</div>

	<div id="list_note_icon" onclick="showSider();"></div>

	<div style="display: none">
		<img src="https://meiju.hearu.top/stat_summer_php_doc">
	</div>
	<script>
		//代码高亮
		hljs.initHighlightingOnLoad();

		document.getElementById('sidebar').innerHTML = menu;

		//打开当前浏览的目录
		let params = parseQuery(location.href);
		if (params['code']) {
			openTo(params['code']);
		}

		//隐藏目录
		let windowWidth = window.screen.width;
		if (windowWidth < 800) {
			let sidebar = document.getElementById('sidebar');
			sidebar.style.width = windowWidth;
			sidebar.style['margin-left'] = '-'+windowWidth+'px';
		}

	</script>

	<footer>
		<p class="modifytime">本页面最近修改时间: {modify_time}  -  如有疑问请发邮件给我: 954861399@qq.com</p>
	</footer>
	</body>
</html>